
public class MatrixTest {


	public static void main(String[] args) {
		
		Matrix<String> m = new MyMatrix<String>();
		   String a = "a";
		   String b = "b";
		   m.put(0,2,a);
		   m.put(1,3,b);
		   m.put(2,0,a);
		   System.out.println(m.iterator().hasNext() + m.iterator().next() + m.iterator().hasNext() +  m.iterator().next() + m.iterator().hasNext() + m.iterator().next());

	}

}
